module dtos.role;

class RoleDto
{
    long id;
    string name;
    string code;
    int sort;
    int status;
    long createTime;
    long updateTime;
}

class RoleDtoForCreate
{
    string name;
    string code;
    int sort = 1;
    int status = 1;
}

class RoleDtoForUpdate
{
    string code;
    string name;
    int sort;
    int status;
}

class RoleOptionDto
{
    long value;
    string label;

    this(long value, string label)
    {
        this.value = value;
        this.label = label;
    }
}
